package com.manage.platform.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * YWD
 * 2025/11/20
 */
@Accessors(chain = true)
@Data
public class IndicatorSystemTaskVo implements Serializable {

    @Schema(description = "任务ID")
    private Long id;

    @Schema(description = "是否已关联(指标关联任务)")
    private Boolean linkStatus;

    @Schema(description = "组织ID")
    private Long organizeId;

    @Schema(description = "组织名称(学院和部门)")
    private String organizeName;

    @Schema(description = "负责人ID")
    private Long assigneeId;

    @Schema(description = "负责人姓名")
    private String assigneeName;

    @Schema(description = "父任务ID")
    private Long parentId;

    @Schema(description = "任务类型(SELF=个人任务, COLLEGE=学院任务, OTHER=其他任务)")
    private String type;

    @Schema(description = "任务名称")
    private String name;

    @Schema(description = "任务层级(1=一级,2=二级,3=三级,4=四级,5=五级)",defaultValue = "1")
    private Integer level;

    @Schema(description = "任务状态(0=未开始,1=进行中,2=已完成,3=未完成)",defaultValue = "0")
    private Integer status;

    @Schema(description = "最后修改时间")
    private String updateTime;

    @Schema(description = "下级列表")
    private List<IndicatorSystemTaskVo> children;


}
